﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCEntity.TMS.HorsemanFreightConfiguration
{
    /// <summary>
    /// 骑手运费配置
    /// </summary>
    public class HorsemanFreightConfigurationEntity
    {
        /// <summary>
        /// 骑手运费配置Id
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long HorsemanFreightConfigurationId { get; set; }
        /// <summary>
        /// 基础骑手运费配置
        /// </summary>
        public bool IsBase { get; set; }
       
        /// <summary>
        /// 区县Id
        /// </summary>
        public long? CountyId { get; set; }
        /// <summary>
        /// 区/县编码
        /// </summary>
        public string CountyCode { get; set; }
        /// <summary>
        /// 距离计算类型
        /// </summary>
        public string DistanceType { get; set; }
        /// <summary>
        /// 起步距离(米)
        /// </summary>
        public int StartDistance { get; set; }
        /// <summary>
        /// 起步重量(克)
        /// </summary>
        public int StartWeight { get; set; }
        /// <summary>
        /// 起步价格
        /// </summary>
        public decimal StartPrice { get; set; }
        /// <summary>
        /// 是否夜间配置
        /// </summary> 
        public bool IsNight { get; set; }
        /// <summary>
        /// 夜间起步距离
        /// </summary>
        public int NightStartDistance { get; set; }
        /// <summary>
        /// 夜间起步重量
        /// </summary>
        public int NightStartWeight { get; set; }
        /// <summary>
        /// 夜间起步价格
        /// </summary>
        public decimal NightStartPrice { get; set; }
        /// <summary>
        /// 夜间服务费
        /// </summary>
        public decimal NightServiceFee { get; set; }
        /// <summary>
        /// 夜间开始时间
        /// </summary>
        public string NightStartTime { get; set; }
        /// <summary>
        /// 夜间结束时间
        /// </summary>
        public string NightEndTime { get; set; }

    }
}
